﻿# FindVisionKit.cmake

find_path(VisionKit_INCLUDE_DIRS
            NAMES 
                VkApiDefination.h
            HINTS 
                "C:/Program Files (x86)/Lusterinc/VisionKit/include"
                "D:/Program Files (x86)/Lusterinc/VisionKit/include"
                "E:/Program Files (x86)/Lusterinc/VisionKit/include"
            )

find_library(VisionKit_LIBRARIES
            NAMES
                VisionKitApi.lib
            PATHS
                "C:/Program Files (x86)/Lusterinc/VisionKit/lib/win64"
                "D:/Program Files (x86)/Lusterinc/VisionKit/lib/win64"
                "E:/Program Files (x86)/Lusterinc/VisionKit/lib/win64"
            )
    
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(VisionKit
            FOUND_VAR
                VisionKit_FOUND
            REQUIRED_VARS
                VisionKit_INCLUDE_DIRS
                VisionKit_LIBRARIES
                )


mark_as_advanced(VisionKit_LIBRARIES) # show entry in cmake-gui

